﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Cafe.Models
{
    
    public struct Review
    {
        private static int nextID = 0;

        private int id;

        public int ID
        {
            get { return id; }
           
        }
        public string User;
        public string Comment;
        public Rating Rating;
        public int CafeID;

        public Review(int cafeId, string user, Rating rating, string comment)
        {
            CafeID = cafeId;
            User = user;
            Rating = rating;
            Comment = comment;
            id = nextID++;
        }
        
    }
}